<?php
namespace app\gr\model;

class CardPubModel extends CommonModel
{
    public function cardType(){
        return $this->belongsTo('CardTypeModel','card_id','id')
                    ->bind(['name','spk','img']);
    }
}